﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sharp07
{
    interface IA {
        void m1();
}
    class C : IA
    {
        void m1()
        {
            Console.WriteLine("Interface A");
        }
        void m2()
        {
            Console.WriteLine("Hello");
        }
    }

    class Program
    {
        static void Main(string[] args)
        {
            IA a = new C();
            a.m1();
        }
    }
}
